package org.example.dao;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;

@Repository
@Primary
public class UsbDisk implements Storage {

    public String sn = "00001";

    @Override
    public void save(Object data) {
        System.out.println(sn + "保存数据到U盘:"+data);
    }
}
